<?php
  
  require_once('Connections/congress.php'); 

  $insertSQL = sprintf("INSERT INTO SESSION (ID_CONGRESS, NAME) VALUES (%s, '%s')",
                       $_GET['idCongress'],
                       $_GET['name']);

  echo $insertSQL;

  mysql_select_db($database_congress, $congress);

  mysql_query($insertSQL, $congress) or die(mysql_error());


?>